<?php 
class report_colmod{
    protected $colMod;
    function report_colmod()
    {
        $this->colMod=array(
            array(  
                "text"          =>"Mã SP"            
                ,"datafield"    =>"ID" 
                ,"cellsalign"   =>"right"
                ),
            array(  
                "text"          =>"Tên sản phẩm"            
                ,"datafield"    =>"ProductName" 
                ),
            array(  
                "text"          =>"Nhà cung cấp"            
                ,"datafield"    =>"Supplier" 
                ),
            array(  
                "text"          =>"Đơn vị"            
                ,"datafield"    =>"QuantityPerUnit" 
                ),
            array(  
                "text"          =>"Giá"            
                ,"datafield"    =>"UnitPrice" 
                ,"type"         =>"number"
                ,"cellsalign"   =>"right"
                ,"cellsformat"  =>'d'
                ),
            array(  
                "text"          =>"Giá bán"            
                ,"datafield"    =>"UnitsOnOrder" 
                ,"type"         =>"number"
                ,"cellsalign"   =>"right"
                ,"cellsformat"  =>'d'
                ),
            array(  
                "text"          =>"Số lượng"            
                ,"datafield"    =>"Amount" 
                ,"cellsalign"   =>"right"
                ),
            array(  
                "text"          =>"Đã bán"            
                ,"datafield"    =>"Sold" 
                ),
            array(  
                "text"          =>"Ngày bắt đầu"            
                ,"datafield"    =>"StartDate" 
                ),
            array(  
                "text"          =>"Ngày kết thúc"            
                ,"datafield"    =>"EndDate" 
                ),
            array(  
                "text"          =>"Public"            
                ,"datafield"    =>"Status" 
                ),
            array(  
                "text"          =>"Insert"            
                ,"datafield"    =>"Insert" 
                ),
            array(  
                "text"          =>"Update"            
                ,"datafield"    =>"Update" 
                ),
            array(  
                "text"          =>"Delete"            
                ,"datafield"    =>"Delete" 
                )
        );
    }
    function get(){
        return $this->colMod;
    }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */